package com.sys.ai.vo;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author LGY
 * Create by 2025/5/20 15:08
 */
@Data
@Accessors(chain = true)
public class ReRankVO implements Serializable {

    private String id;

    private List<ReRankResults> results;

    @Data
    public static class ReRankResults {

        @JSONField(name = "index")
        private Integer index;

        @JSONField(name = "relevance_score")
        private BigDecimal relevanceScore;
    }
}
